﻿/* ============================================================================== 
* 功能描述：UserInfo 
* 创 建 者：张教主 
* 当前版本: V1.0
* 创建日期：2019/1/2 10:04:57 
* ==============================================================================*/


using System;

namespace SchoolMall.Domain.Entity
{
    public partial class UserInfo:BaseEntity
    {
        /// <summary>
        /// 账号(邮箱)
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }

        /// <summary>
        /// 盐值
        /// </summary>
        public string Salt { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 用户手机
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 性别 (0 未知 1 男  2 女)
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avator { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 等级积分
        /// </summary>
        public int RankCredits { get; set; }

        /// <summary>
        /// 用户类型 (0 普通用户 1 卖家  2 管理员)
        /// </summary>
        public int UserType { get; set; }

        /// <summary>
        /// 创建时间 (时间戳)
        /// </summary>
        public int CreateTime { get; set; }

        /// <summary>
        /// 注册ip
        /// </summary>
        public string RegisterIp { get; set; }

        /// <summary>
        /// 用户状态 (0 正常可用 1 禁止使用)
        /// </summary>
        public int State { get; set; }
    }
}
